UNPKG

ent-framework

Version:

A PostgreSQL graph-database-alike library with microsharding and row-level security

14 lines (11 loc) 305 B
import NextAuth from "next-auth"; import GoogleProvider from "next-auth/providers/google"; const handler = NextAuth({ providers: [ GoogleProvider({ clientId: process.env.GOOGLE_ID!, clientSecret: process.env.GOOGLE_SECRET!, }), ], }); export { handler as GET, handler as POST };